<%@page import="com.mmy.domain.oa.LeaveType"%>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%> 
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>  
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<jsp:include page="/WEB-INF/jsp/include1.jsp"></jsp:include>
<title>请假类型</title>
</head>
<body>
	<div id="off-canvas-container" class="off-canvas-container">
		<jsp:include page="/WEB-INF/jsp/BackHeader.jsp"></jsp:include>
			<main class="at-padding-large-bottom">
			<article>		
	<header class="bg-light at-padding-large-top at-padding-large-bottom at-margin-large-bottom">
		<div class="page-header container">
			<h2>请假管理</h2>			
		</div>
	</header>
	<section class="container">

			<div>
				<a href="leaveinfo" >请假信息</a> 
				
				<hr style="FILTER: alpha(opacity=100,finishopacity=0,style=3); margin: 15px; " width=100%; color=#F9F6E5 SIZE=3></hr>
				<form action="searchleavetype" class="info-form" >
						<h4 class="info-h4">
							<i class="fa fa-caret-right" aria-hidden="true" ></i>请假类型管理
						</h4>
				<div >
				
				<input type="button" value="删除" class="btn at-float-right" onclick="delLeaveType()">	
				<input type="button" value="修改" class="btn at-float-right" onclick="updateLeaveType()"> 
				<input type="button" class="btn at-float-right" value="新增" onclick="location.href='createleavetype'">
				类型名称 ：<input type="text" class="input-width" name="TypeName" value="${requestScope.strTypeName}">
				<input type="submit" value="搜索" class="btn"/>	
				<table class="info-table" >
					<tr>
						<th>
							<input type="checkbox" id="ckall" name="ckall" onclick="ckAll(this);">
						</th>
						<th>类型名称</th>
						<th>扣款金额</th>
						<th>备注</th>			
					</tr>
					<c:forEach var="lo" items="${ltlist}">
					<tr>
						<td>
							<input type="checkbox" name="ckone" value="${lo.getTypeID()}" onclick="ckOne(this)">
						</td>
						<td>${lo.getTypeName()}</td>
						<td>${lo.getPayment()}</td>
						<td>${lo.getMemo()}</td>
					</tr>
					</c:forEach>
					
				</table>
				<select>
								<option>10</option>
								<option>5</option>
								<option>2</option>
							</select>
							<span>
								 条   共1条 1/1
							</span>
							<span class="page-span">
								1 转到<input type="text" class="input-width3"/>
								页 <input type="button" class="btn" value="GO"  />
							</span>	
				</div>
				</form>
			</div>
			</section>
			</article>
			</main>
		<jsp:include page="/WEB-INF/jsp/Footer.jsp"></jsp:include>
		</div>
</body>
</html>